package com.cs.framework.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 * @author wind
 * @date    2025/1/22 17:09
 * @version v1.0
 */
public class BaseEntity implements Serializable {

    /**
     * 页码
     */
    private int page;

    /**
     * 分页长度
     */
    private int size;

    @JsonIgnore
    public int getPage() {
        return page;
    }

    @JsonProperty
    public void setPage(int page) {
        this.page = page;
    }

    @JsonIgnore
    public int getSize() {
        return size;
    }

    @JsonProperty
    public void setSize(int size) {
        this.size = size;
    }
}
